package Twitim::API::Update;

use strict;
use warnings;
use Encode;

use base qw( Twitim::API );

sub _start {
    my ( $self, $string, $reply_id ) = @_;

    my %extra = ( status => decode_utf8($string) );
    $extra{'in_reply_to_status_id'} = $reply_id if $reply_id;
    $self->_getfromapi( 'statuses/update', '.json', undef, \%extra );
}

sub _last {
}

1;
